﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BasicData.Domain
{
    public class leaveModel
    {
        [Key]
        public int leaveId {  get; set; }
        public int UserId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string leaveName { get; set; } = string.Empty;
        /// <summary>
        /// 部门
        /// </summary>
        public int DepartmentId { get; set; }
        /// <summary>
        /// 请假类别 
        /// </summary>
        public int typeId {  get; set; }
        public string typeIds {  get; set; } = string.Empty;
        /// <summary>
        /// 请假时间
        /// </summary>
        public DateTime leaveTime {  get; set; }
        /// <summary>
        /// 报道时间
        /// </summary>
        public DateTime EndleaveTime { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 请假原因
        /// </summary>
        public string cause {  get; set; } = string.Empty;
        /// <summary>
        /// 审批原因
        /// </summary>
        public string? leavecause {  get; set; }
        /// <summary>
        /// 部门领导
        /// </summary>
        public string? DepartmentManager { get; set; } = string.Empty;
        /// <summary>
        /// 审批状态
        /// </summary>
        public int Sates {  get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelId {  get; set; }
        public int Number {  get; set; }
    }
}
